﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutomationMLMapper.ViewModels.CAEXObjectCollectionViewModels;
using AutomationMLMapper.ViewModels.CAEXObjectViewModels;

namespace AutomationMLMapper.ViewModels.PaneViewModels
{
    public class SupportedRolesViewModel: PaneViewModel
    {
        /// <summary>
        ///  <see cref="RolesCollection"/>
        /// </summary>    
        private SupportedRoleClassCollectionViewModel rolesCollection;

        /// <summary>
        ///  Gets and sets the  Collection of supported RoleClasses <see cref="SupportedRoleClassCollectionViewModel" /> of the SystemUnitClass
        /// </summary>
        public SupportedRoleClassCollectionViewModel RolesCollection
        {
            get { return rolesCollection; }
            set { rolesCollection = value; OnNotifyPropertyChanged("RolesCollection"); }
        }
                

        /// <summary>
        ///  <see cref="CollectionOwner"/>
        /// </summary>    
        private SystemUnitClassViewModel collectionOwner;

        /// <summary>
        ///  Gets and sets the Owner of the <see cref="RolesCollection"/>. 
        ///  The Owner is a <see cref="SystemUnitClassViewModel"/>
        /// </summary>
        public SystemUnitClassViewModel CollectionOwner
        {
            get { return collectionOwner; }
            set { collectionOwner = value; OnNotifyPropertyChanged("CollectionOwner"); }
        }        
       
    }
}
